package com.wdl.modules.myhouse.service;

import com.wdl.modules.myhouse.entity.sys.SysMenuEntity;
import com.wdl.modules.myhouse.entity.sys.SysMenuRoleEntity;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * 菜单角色关系依赖对照表
 *
 * @author lucain sunlightcs@gmail.com
 * @since 1.0.0 2022-09-11
 */
public interface SysMenuRoleService extends IService<SysMenuRoleEntity> {

    /**
     * 根据角色id,批量获取菜单信息
     * @param roleIds
     * @return
     */
    List<SysMenuEntity> getMenusByRoleIds(List<Integer> roleIds);
}